<template>
  <div class="pic">
    <img src="https://gimg2.baidu.com/image_search/src=http%3A%2F%2Ftu1.whhost.net%2Fuploads%2F20190302%2F16%2F1551516658-JEAnkTiwjd.jpg&refer=http%3A%2F%2Ftu1.whhost.net&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1666367476&t=511c8203985a7b6b1469987c32097a29" alt="">
    <p>这是一只可爱的小狗</p>
  </div>
</template>

<script>
export default {
}
</script>

<style>
img{
    width: 500px;
    height: 300px;
}
.pic{
  width: 500px;
  height: 350px;
  text-align: center;
  color: tomato;
  border: 1px solid #000;
}
</style>